package com.bnlr.lrparking.widget.refresh;

import android.content.Context;

import com.bnlr.lrparking.R;

/**
 * Created by tian on 2017/11/10.
 */

public class RefreshHolderUtil {
    public static BGAMeiTuanRefreshViewHolder getRefreshHolder (Context context) {
        BGAMeiTuanRefreshViewHolder moocStyleRefreshViewHolder = new BGAMeiTuanRefreshViewHolder(context, false);
        moocStyleRefreshViewHolder.setPullDownImageResource(R.drawable.car1);
        moocStyleRefreshViewHolder.setChangeToReleaseRefreshAnimResId(R.drawable.bga_refresh_car);
        moocStyleRefreshViewHolder.setRefreshingAnimResId(R.drawable.bga_refresh_car);
        return moocStyleRefreshViewHolder;
    }
}
